home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / lib / libvte9 / osc < prev    next >
Text File  |  2009-10-02  |  387b  |  22 lines

  1. #!/bin/sh
  2. #
  3. #  Operating system commands.
  4. #
  5. if [ "$#" -eq 0 ] ; then
  6.     echo usage: `basename $0` 'command [...]'
  7.     echo commands:
  8.     echo "    0 'title'    change icon name and window title"
  9.     echo "    1 'title'    change icon name"
  10.     echo "    2 'title'    change window title"
  11.     exit
  12. fi
  13. args=
  14. for arg in $@ ; do
  15.     if [ "$args" = "" ] ; then
  16.         args="$arg"
  17.     else
  18.         args="$args;$arg"
  19.     fi
  20. done
  21. printf "]"${args}
  22.